package com.API.dal.providers;

import com.API.dal.entities.EmployeeProject;
import com.API.dal.entities.Employees;
import com.API.dal.entities.EmployeesCosts;
import com.API.dal.entities.Posts;

import java.util.List;

/**
 * Интерфейс работы с сотрудниками и рабочими
 */
public interface EmployeesProvider {
    void addEmployee(Employees employee);
    void addEmployeeProjectWork(EmployeeProject employeeProject);
    void addEmployeeCost(EmployeesCosts employeesCosts);
    void updateEmployee(Employees employee);
    List<EmployeeProject> getEmployeesProjects(int project_id);
    List<EmployeeProject> getEmployeeProjects(String employee_name);
    List<Employees> getEmployees();
    List<Employees> getProjectEmployees(int project_id);
    List<Employees> getEmployeeByPriceType(String salary_type);
    Employees getEmployeeById(int id);
    List<Employees> getEmployeesByName(String employeeName);
    List<EmployeeProject> getEmployeeHous(int employee_id);
    List<Posts> getPosts();
    Posts getPostByName(String name);
    Posts getPostById(int id);
}
